package com.manlost.biz.baby;

import java.util.List;

import com.manlost.biz.baby.model.dataobject.Baby;
import com.manlost.biz.baby.model.dataobject.BabyDraft;
import com.manlost.biz.baby.query.BabyQuery;
import com.manlost.biz.common.ibatis.PageQueryList;
/**
 * 宝贝Service类
 * @author wqq
 *
 */
public interface BabyService {

	public PageQueryList<Baby> listBabys(BabyQuery query);
	public Baby getOneBabyById(Long babyId);
	public List<Baby> getBabysByIds(List<Long> ids);
	public boolean insetOneBaby(Baby baby);
	public Long inserBabies(List<Baby> babies);
	public Long inserBabyDrafts(List<BabyDraft> babyDrafts);
	public boolean insetOneBabyDraft(BabyDraft baby);
}
